popover: Remove an unused gtk_widget_get_allocation() call
authorTimm Bäder <mail@baedert.org>
Sat, 18 Apr 2020 05:01:27 +0000 (07:01 +0200)
committerTimm Bäder <mail@baedert.org>
Tue, 5 May 2020 06:20:09 +0000 (08:20 +0200)
gtk/gtkpopover.c

index 70a15ea3d9fea92b89c32e69345f31ed18045fd4..44bdf81acf166d2679bf6efcf3a84f976327c012 100644 (file)
@@ -1278,12 +1278,9 @@ gtk_popover_fill_border_path (GtkPopover *popover,
                               cairo_t    *cr)
 {
   GtkWidget *widget = GTK_WIDGET (popover);
-  GtkAllocation allocation;
   int x, y, w, h;
   GskRoundedRect box;
 
-  gtk_widget_get_allocation (widget, &allocation);
-
   cairo_set_source_rgba (cr, 0, 0, 0, 1);
 
   gtk_popover_apply_tail_path (popover, cr);